home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / educate / testsh.zip / PRESERVE.BAT < prev    next >
DOS Batch File  |  1995-10-13  |  2KB  |  48 lines

  1. ECHO OFF
  2. CLS
  3. echo.
  4. echo.
  5. echo.
  6. echo   You are about to create a NEW DIRECTORY, on the C:DRIVE, called
  7. echo   CREATE2.  Following its creation, the entire CRE-A-TEST program
  8. echo   will be copied into that directory, as well as all of the records
  9. echo   that you have created.  Basically, this means that TOTALLY EVERYTHING
  10. echo   that presently exists, in your CREATE1 directory, will be duplicated,
  11. echo   on the hard drive, and you can go to the CREATE2 directory, anytime,
  12. echo   and access all records that you have PRESERVED there,in exactly the
  13. echo   same manner that you have been doing. This is nice for reference.
  14. echo.
  15. echo   THEN - All of the RECORDS, (not the CRE-A-TEST program), will be
  16. echo   erased from this presently active directory, and you will have a
  17. echo   clean start, with a BARE BONES program, to start your next period,
  18. echo   year, etc.  In this respect, the same thing happens as if you had
  19. echo   used the CLEAR option, except that the CLEAR option would not have
  20. echo   preserved your created records, in a NEW directory by the name of 
  21. echo   CREATE2.
  22. echo.
  23. echo   If you wish to ABORT this screen, without any action taking place,
  24. echo   press CTRL & C, together, answer Y to the `TERMINATE BATCH JOB?'
  25. echo   prompt, and you'll return to DOS.  If ready to continue with the action
  26. echo   indicated, just press the ENTER key.  You must be certain that you have
  27. echo   enough space on your C:DRIVE, to accomodate the total contents of your
  28. echo   present directory.
  29. pause
  30. MD C:\CREATE2
  31. COPY *.* C:\CREATE2
  32. DEL *.REC
  33. CLS
  34. echo.
  35. echo.
  36. echo.
  37. echo.
  38. echo   The CREATE2 directory has been created, and now contains the entirety
  39. echo   of your original directory CREATE1, for your future reference.  
  40. echo   The CREATE1 directory now contains ONLY the CRE-A-TEST program, with
  41. echo   all previous records having been erased.  Press ENTER to return to the
  42. echo   DOS prompt.  To resume the CRE-A-TEST program, simply type GO and
  43. echo   press the ENTER key, or you may terminate your session.
  44. echo.
  45. echo.
  46. echo.
  47. pause
  48.